amba_pl011: Don't use DT aliases for numbering
authorPhil Elwell <phil@raspberrypi.org>
Tue, 23 Feb 2016 17:26:48 +0000 (17:26 +0000)
committerpopcornmix <popcornmix@gmail.com>
Mon, 20 Feb 2017 20:28:26 +0000 (20:28 +0000)
commit9afbc4b6d56a20e777425200295a6a724e25aaab
treef88d81552b40cdeb647ba89606cb1d498ae7821b
parente39bcabc5e7efff94077221d47e6373c3febbe65
amba_pl011: Don't use DT aliases for numbering

The pl011 driver looks for DT aliases of the form "serial<n>",
and if found uses <n> as the device ID. This can cause
/dev/ttyAMA0 to become /dev/ttyAMA1, which is confusing if the
other serial port is provided by the 8250 driver which doesn't
use the same logic.
drivers/tty/serial/amba-pl011.c